package com.ruoyi.system.api;

import com.ruoyi.common.core.constant.SecurityConstants;
import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.api.domain.SysOperLog;
import com.ruoyi.system.api.domain.SysUser;
import com.ruoyi.system.api.factory.RemoteUserFallbackFactory;
import com.ruoyi.system.api.model.LoginUser;
import io.seata.rm.tcc.api.LocalTCC;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * 用户服务
 * 
 * @author ruoyi
 */
@FeignClient(contextId = "RemoteMysqlService", value = ServiceNameConstants.SYSTEM_SERVICE_MYSQL1)
public interface RemoteMysqlService
{

    @PostMapping("/operlog/noPermissionList2")
    public R<LoginUser> getUserInfo(@RequestBody SysOperLog sysOperLog);


    @PostMapping("/operlog/noPermissionList2")
    public R<LoginUser> getUserInfotcc(@RequestBody SysOperLog sysOperLog);

}
